import { defineStore } from "pinia";
//仓库键名必须是use开头并且具有唯一性
import { userSlider } from "./keys";

type Slider = {
  msg: string;
};
//管理滑块拼图验证msg提示
export const useSliderStore = defineStore("userSlider", {
  state(): Slider {
    return {
      msg: "向右滑动",
    };
  },
  getters: {},
  actions: {
    SliderParams(payload: any) {
      this.msg = payload;
    },
  },
});
